import axios from "../../axios.js"
export default {
    // 获取初始预警
    getAlertSetApi() {
        return axios({
            url: '/crm/getEarlyWarning',
            method: 'get'
        })
    },
    // 更新预警
    upDateAlertSetApi(data) {
        return axios({
            url: '/crm/updateEarlyWarning',
            method: 'post',
            data
        })
    }
}